package UI;

import org.eclipse.swt.widgets.Shell;

/**
 * A callback class to be used when the names of the players are selected.
 */
public interface PlayerNameSelectedCallback
{
	/**
	 * When called, it indicates that the names of the players were selected by the user.
	 * 
	 * @param parent The shell which was used for name selection
	 * @param player1Name The name of the first player
	 * @param player2Name The name of the second player
	 */
	public void onPlayerNamesSelected(Shell parent, String player1Name, String player2Name);
}
